package top.goldenyear.porpoise.common.core.util.collection;

import cn.hutool.v7.core.collection.set.SetUtil;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/**
 * Set 工具类
 *
 * @author Airhead
 */
public class SetUtils extends SetUtil {

  @SafeVarargs
  public static <T> Set<T> asSet(T... objs) {
    return new HashSet<>(Arrays.asList(objs));
  }
}
